﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;

namespace RFW.Weather.Forecast
{
	public class Temperature
	{
		public string F { get; set; }
		public string C { get; set; }

		public static Temperature Linq(XElement element)
		{
			Temperature temp = new Temperature();
			temp.F = element.Element("fahrenheit").Value;
			temp.C = element.Element("celsius").Value;

			return temp;
		}
	}
}
